package com.sky.ThisDemo;

public class Student {
    double score;

    public void PrintThis(){
        System.out.println("此对象的地址为" + this);
    }

    public void PrintPass(double score){
        if(this.score > score){
            System.out.println("恭喜你考上大学了");
        }else{
            System.out.println("很遗憾，你落选了");
        }
    }
}
